package iotest;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;

public class TypeToFile {

	/**
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {

		File file = new File("D://test//c.txt");
		String str = new String();

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		str = in.readLine();

		// BufferedWriter bfw = new BufferedWriter(new FileWriter(file));
		FileWriter bfw = new FileWriter(file);

		bfw.write(str);

		bfw.close();

	}

}
